import request from '@/utils/request'

// 查询ExportType列表
export function listExportType(query) {
  return request({
    url: '/business/exportType/list',
    method: 'get',
    params: query
  })
}

// 查询ExportType详细
export function getExportType(id) {
  return request({
    url: '/business/exportType/' + id,
    method: 'get'
  })
}

// 新增ExportType
export function addExportType(data) {
  return request({
    url: '/business/exportType',
    method: 'post',
    data: data
  })
}

// 修改ExportType
export function updateExportType(data) {
  return request({
    url: '/business/exportType',
    method: 'put',
    data: data
  })
}

// 删除ExportType
export function delExportType(id) {
  return request({
    url: '/business/exportType/' + id,
    method: 'delete'
  })
}
